package com.atguigu.assionexcel.UnSafeCollection;

import java.util.*;

/**
 * @author senior
 * @create 2021-11-28 19:08
 */
public class MapT1 {
    public static void main(String[] args) {



        Map map = new HashMap();   //推荐
        for (int i = 0; i < 300; i++) {
            new Thread(() -> {
                map.put(String.valueOf(1), UUID.randomUUID().toString().substring(0, 3));
                System.out.println(map);
            }, String.valueOf(i)).start();
        }
    }
}

